#pragma once

#include <QDialog>
#include "ui_workdirwin.h"

class WorkDirWin : public QDialog
{
	Q_OBJECT

public:
	WorkDirWin(QString workDir, QWidget *parent = Q_NULLPTR);
	~WorkDirWin();


	QString getWorkDir()
	{
		return ui.lineEdit->text();
	}

private slots:
	void slot_select();
	void slot_ok();
	void slot_cancel();
private:
	Ui::WorkDirWin ui;

	QString m_workDir;
};
